# -*- coding: utf-8 -*-

# Define your item pipelines here
#
# Don't forget to add your pipeline to the ITEM_PIPELINES setting
# See: https://docs.scrapy.org/en/latest/topics/item-pipeline.html

"""
    这个类是为了 处理解析后的数据， 解析完成后的数据 可以存储在数据库
"""


class DouBanBookPipeline(object):
    def process_item(self, item, spider):
        print("item===>", item)
        return item
